/*
 * Created on 2006-12-4
 *
 * TODO 
 */
package jacky.lanlan.song.extension.spring.beans;

public class Constant{

	private ConstantManager constantManager=null;

	public void setConstantManager(ConstantManager constant) {
		this.constantManager=constant;
	}

	public String getPresentationConstant(String key) {
		return constantManager.getPresentationConstantMap().get(key);
	}
	
	public String getBusiLogicConstant(String key) {
		return constantManager.getBusiLogicConstantMap().get(key);
	}

	public String getPersistenceConstant(String key) {
		return constantManager.getPersistenceConstantMap().get(key);
	}
	
}
